package com.selenium.handle;

import com.selenium.base.DriverBase;
import com.selenium.page.CourseDetailPage;

public class CourseDetailHandle {

		private DriverBase driver;
		private CourseDetailPage cdp;
		public CourseDetailHandle(DriverBase driver) {
			this.driver = driver;
			this.cdp = new CourseDetailPage(this.driver);
		}
		
		public void clickBuyCourse() {
			cdp.click(cdp.getBuyButton());
		}
}
